#include <stdio.h>
#include<stdlib.h>

int g_val_1;
int g_val_2=100;

int main()
{
  //printf("xxx=%s\n",getenv("xxx"));

  printf("code addr:%p\n",main);
  const char *str = "hello bit";
  printf("read only string addr:%p\n",str);
  printf("init global value addr:%p\n",&g_val_2);
  printf("uninit global value addr:%p\n",&g_val_1);
    char *mem = (char*)malloc(100);
     printf("heap addr: %p\n", mem);
  return 0;
}



